package com.woniuxy01;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Objects;


public class Account {

    private Integer aid;
    private String aname;
    private String pasword;
    private String sex;
    private double moeny;
    private String address;
    private String phone;
    private Date birthday;

    public Account() {
    }

    public Account(Integer aid, String aname, String pasword, String sex, double moeny, String address, String phone, Date birthday) {
        this.aid = aid;
        this.aname = aname;
        this.pasword = pasword;
        this.sex = sex;
        this.moeny = moeny;
        this.address = address;
        this.phone = phone;
        this.birthday = birthday;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getPasword() {
        return pasword;
    }

    public void setPasword(String pasword) {
        this.pasword = pasword;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public double getMoeny() {
        return moeny;
    }

    public void setMoeny(double moeny) {
        this.moeny = moeny;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Account{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", pasword='" + pasword + '\'' +
                ", sex='" + sex + '\'' +
                ", moeny=" + moeny +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", birthday=" + birthday +
                '}';
    }

}